﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001109 RID: 4361
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SelectInclinationTextScRsp : IMessage<SelectInclinationTextScRsp>, IMessage, IEquatable<SelectInclinationTextScRsp>, IDeepCloneable<SelectInclinationTextScRsp>, IBufferMessage
	{
		// Token: 0x17003742 RID: 14146
		// (get) Token: 0x0600C32A RID: 49962 RVA: 0x0020FFED File Offset: 0x0020E1ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SelectInclinationTextScRsp> Parser
		{
			get
			{
				return SelectInclinationTextScRsp._parser;
			}
		}

		// Token: 0x17003743 RID: 14147
		// (get) Token: 0x0600C32B RID: 49963 RVA: 0x0020FFF4 File Offset: 0x0020E1F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SelectInclinationTextScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003744 RID: 14148
		// (get) Token: 0x0600C32C RID: 49964 RVA: 0x00210006 File Offset: 0x0020E206
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SelectInclinationTextScRsp.Descriptor;
			}
		}

		// Token: 0x0600C32D RID: 49965 RVA: 0x0021000D File Offset: 0x0020E20D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectInclinationTextScRsp()
		{
		}

		// Token: 0x0600C32E RID: 49966 RVA: 0x00210015 File Offset: 0x0020E215
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectInclinationTextScRsp(SelectInclinationTextScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.talkSentenceId_ = other.talkSentenceId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C32F RID: 49967 RVA: 0x00210046 File Offset: 0x0020E246
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectInclinationTextScRsp Clone()
		{
			return new SelectInclinationTextScRsp(this);
		}

		// Token: 0x17003745 RID: 14149
		// (get) Token: 0x0600C330 RID: 49968 RVA: 0x0021004E File Offset: 0x0020E24E
		// (set) Token: 0x0600C331 RID: 49969 RVA: 0x00210056 File Offset: 0x0020E256
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003746 RID: 14150
		// (get) Token: 0x0600C332 RID: 49970 RVA: 0x0021005F File Offset: 0x0020E25F
		// (set) Token: 0x0600C333 RID: 49971 RVA: 0x00210067 File Offset: 0x0020E267
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TalkSentenceId
		{
			get
			{
				return this.talkSentenceId_;
			}
			set
			{
				this.talkSentenceId_ = value;
			}
		}

		// Token: 0x0600C334 RID: 49972 RVA: 0x00210070 File Offset: 0x0020E270
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SelectInclinationTextScRsp);
		}

		// Token: 0x0600C335 RID: 49973 RVA: 0x0021007E File Offset: 0x0020E27E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SelectInclinationTextScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.TalkSentenceId == other.TalkSentenceId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C336 RID: 49974 RVA: 0x002100BC File Offset: 0x0020E2BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.TalkSentenceId != 0U)
			{
				num ^= this.TalkSentenceId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C337 RID: 49975 RVA: 0x00210114 File Offset: 0x0020E314
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C338 RID: 49976 RVA: 0x0021011C File Offset: 0x0020E31C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C339 RID: 49977 RVA: 0x00210128 File Offset: 0x0020E328
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Retcode);
			}
			if (this.TalkSentenceId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.TalkSentenceId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C33A RID: 49978 RVA: 0x00210180 File Offset: 0x0020E380
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.TalkSentenceId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TalkSentenceId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C33B RID: 49979 RVA: 0x002101D8 File Offset: 0x0020E3D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SelectInclinationTextScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.TalkSentenceId != 0U)
			{
				this.TalkSentenceId = other.TalkSentenceId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C33C RID: 49980 RVA: 0x00210228 File Offset: 0x0020E428
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C33D RID: 49981 RVA: 0x00210234 File Offset: 0x0020E434
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 16U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.TalkSentenceId = input.ReadUInt32();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004ECB RID: 20171
		private static readonly MessageParser<SelectInclinationTextScRsp> _parser = new MessageParser<SelectInclinationTextScRsp>(() => new SelectInclinationTextScRsp());

		// Token: 0x04004ECC RID: 20172
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004ECD RID: 20173
		public const int RetcodeFieldNumber = 1;

		// Token: 0x04004ECE RID: 20174
		private uint retcode_;

		// Token: 0x04004ECF RID: 20175
		public const int TalkSentenceIdFieldNumber = 2;

		// Token: 0x04004ED0 RID: 20176
		private uint talkSentenceId_;
	}
}
